﻿#region 命名空间

using System;
using System.Web.Mvc;
using WinnerCMS.BLL;
using WinnerCMS.Common;
using WinnerCMS.Model;
using WinnerCMS.WebFactory;

#endregion

namespace WinnerCMS.WebUI.Templates.WinnerCMS6.Announce
{
    public partial class Show : PublicPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var info = new AnnounceManage().Show(Convert.ToInt32(Page.Request["ID"]));

            this.show1.Text = "<div align='center'>" + info.Title + "</div>" + info.Content + "";
            this.show2.Text = "<div align='right'>" + info.Author + "</div><div align='right'>" + info.UpdateTime +
                              "</div>";
        }
    }
}